# 计算1+2+3+4+5+6+7+8....n=?
a=1
n=10
s=0
while a<=n:
    s=s+a
    # s*=a
    a+=1
print(s)